package com.hsc.www.sentinel.feign;

import java.util.Collections;
import java.util.List;
import java.util.Map;

class UserServicesFallbackImp implements UserServices {
    private Throwable cause;

    public UserServicesFallbackImp(Throwable cause) {
        this.cause = cause;
    }

    @Override
    public List<Map> getUsers() {
        System.out.println("异常：");
        cause.printStackTrace();
        return Collections.emptyList();
    }
}